/*切换导航*/
function changeNav(obj,index){
  $(obj).siblings().find('.nav-a').removeClass('active');
  $(obj).siblings().find('.triangle_border_up').fadeOut(50);
  $(obj).find('.nav-a').addClass('active');
  $(obj).find('.triangle_border_up').fadeIn(50);
}
/*轮播图*/
/*$(function() {
  var demo1 = $("#homeslider").slippry({
    transition: 'fade',
    useCSS: true,
    captions: false,
    speed: 1000,
    pause: 3000,
    auto: true,
    preload: 'visible'
  });
});*/


//加载轮播机制
$("#owl-example").owlCarousel({
  items : 1,
  autoPlay : true,
  itemsMobile : [479, 1],
  itemsDesktop : [1199, 1],
  itemsDesktopSmall : [979, 1],
  itemsTablet : [768, 1],
  navigationText : false,
  scrollPerPage : true,
  slideSpeed : 500
});